﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class mdc_Product_Group : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } }
        private string _ID;
        public static FieldInfo id = new FieldInfo("mdc_Product_Group", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } }
        private string _Process;
        public static FieldInfo process = new FieldInfo("mdc_Product_Group", "Process");

        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } }
        private int _Incident;
        public static FieldInfo incident = new FieldInfo("mdc_Product_Group", "Incident");

        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } }
        private string _UserName;
        public static FieldInfo userName = new FieldInfo("mdc_Product_Group", "UserName");

        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } }
        private int _No;
        public static FieldInfo no = new FieldInfo("mdc_Product_Group", "No");

        [Column]
        public string Brand { get { return _Brand; } set { _Brand = value; EntityState.FieldChange("Brand"); } }
        private string _Brand;
        public static FieldInfo brand = new FieldInfo("mdc_Product_Group", "Brand");

        [Column]
        public string Sub_Line { get { return _Sub_Line; } set { _Sub_Line = value; EntityState.FieldChange("Sub_Line"); } } 
        private string _Sub_Line;
        public static FieldInfo sub_Line = new FieldInfo("mdc_Product_Group", "Sub_Line");

        [Column]
        public string SKU_Code { get { return _SKU_Code; } set { _SKU_Code = value; EntityState.FieldChange("SKU_Code"); } } 
        private string _SKU_Code;
        public static FieldInfo sKU_Code = new FieldInfo("mdc_Product_Group", "SKU_Code");

        [Column]
        public string Sub_Brand { get { return _Sub_Brand; } set { _Sub_Brand = value; EntityState.FieldChange("Sub_Brand"); } } 
        private string _Sub_Brand;
        public static FieldInfo sub_Brand = new FieldInfo("mdc_Product_Group", "Sub_Brand");

        [Column]
        public string Sub_Brand_Description { get { return _Sub_Brand_Description; } set { _Sub_Brand_Description = value; EntityState.FieldChange("Sub_Brand_Description"); } } 
        private string _Sub_Brand_Description;
        public static FieldInfo sub_Brand_Description = new FieldInfo("mdc_Product_Group", "Sub_Brand_Description");

        [Column]
        public string Product_Group { get { return _Product_Group; } set { _Product_Group = value; EntityState.FieldChange("Product_Group"); } } 
        private string _Product_Group;
        public static FieldInfo product_Group = new FieldInfo("mdc_Product_Group", "Product_Group");

        [Column]
        public string Product_Group_Des { get { return _Product_Group_Des; } set { _Product_Group_Des = value; EntityState.FieldChange("Product_Group_Des"); } } 
        private string _Product_Group_Des;
        public static FieldInfo product_Group_Des = new FieldInfo("mdc_Product_Group", "Product_Group_Des");

        [Column]
        public string Prod_Category { get { return _Prod_Category; } set { _Prod_Category = value; EntityState.FieldChange("Prod_Category"); } } 
        private string _Prod_Category;
        public static FieldInfo prod_Category = new FieldInfo("mdc_Product_Group", "Prod_Category");

        [Column]
        public string Predeco { get { return _Predeco; } set { _Predeco = value; EntityState.FieldChange("Predeco"); } } 
        private string _Predeco;
        public static FieldInfo predeco = new FieldInfo("mdc_Product_Group", "Predeco");

        [Column]
        public string TVSW { get { return _TVSW; } set { _TVSW = value; EntityState.FieldChange("TVSW"); } }
        private string _TVSW;
        public static FieldInfo tVSW = new FieldInfo("mdc_Product_Group", "TVSW");

        [Column]
        public string Surface { get { return _Surface; } set { _Surface = value; EntityState.FieldChange("Surface"); } } 
        private string _Surface;
        public static FieldInfo surface = new FieldInfo("mdc_Product_Group", "Surface");

        [Column]
        public string Main_Applic { get { return _Main_Applic; } set { _Main_Applic = value; EntityState.FieldChange("Main_Applic"); } } 
        private string _Main_Applic;
        public static FieldInfo main_Applic = new FieldInfo("mdc_Product_Group", "Main_Applic");

        [Column]
        public string Place_in_sys { get { return _Place_in_sys; } set { _Place_in_sys = value; EntityState.FieldChange("Place_in_sys"); } } 
        private string _Place_in_sys;
        public static FieldInfo place_in_sys = new FieldInfo("mdc_Product_Group", "Place_in_sys");

        [Column]
        public string Technology { get { return _Technology; } set { _Technology = value; EntityState.FieldChange("Technology"); } } 
        private string _Technology;
        public static FieldInfo technology = new FieldInfo("mdc_Product_Group", "Technology");

        [Column]
        public string Gloss_Sheen { get { return _Gloss_Sheen; } set { _Gloss_Sheen = value; EntityState.FieldChange("Gloss_Sheen"); } } 
        private string _Gloss_Sheen;
        public static FieldInfo gloss_Sheen = new FieldInfo("mdc_Product_Group", "Gloss_Sheen");

        [Column]
        public string Texture { get { return _Texture; } set { _Texture = value; EntityState.FieldChange("Texture"); } } 
        private string _Texture;
        public static FieldInfo texture = new FieldInfo("mdc_Product_Group", "Texture");

        [Column]
        public string Aspect { get { return _Aspect; } set { _Aspect = value; EntityState.FieldChange("Aspect"); } } 
        private string _Aspect;
        public static FieldInfo aspect = new FieldInfo("mdc_Product_Group", "Aspect");

        [Column]
        public string Interior_ext { get { return _Interior_ext; } set { _Interior_ext = value; EntityState.FieldChange("Interior_ext"); } } 
        private string _Interior_ext;
        public static FieldInfo interior_ext = new FieldInfo("mdc_Product_Group", "Interior_ext");

        [Column]
        public string Color_Prod { get { return _Color_Prod; } set { _Color_Prod = value; EntityState.FieldChange("Color_Prod"); } } 
        private string _Color_Prod;
        public static FieldInfo color_Prod = new FieldInfo("mdc_Product_Group", "Color_Prod");

        [Column]
        public string Product_cluster { get { return _Product_cluster; } set { _Product_cluster = value; EntityState.FieldChange("Product_cluster"); } }
        private string _Product_cluster;
        public static FieldInfo product_cluster = new FieldInfo("mdc_Product_Group", "Product_cluster");

        [Column]
        public string Product_cluster_Des { get { return _Product_cluster_Des; } set { _Product_cluster_Des = value; EntityState.FieldChange("Product_cluster_Des"); } }
        private string _Product_cluster_Des;
        public static FieldInfo product_cluster_Des = new FieldInfo("mdc_Product_Group", "Product_cluster_Des");

        [Column]
        public string MSDS_EN { get { return _MSDS_EN; } set { _MSDS_EN = value; EntityState.FieldChange("MSDS_EN"); } } private string _MSDS_EN; public static FieldInfo mSDS_EN = new FieldInfo("mdc_Product_Group", "MSDS_EN");
        [Column]
        public string MSDS_CN { get { return _MSDS_CN; } set { _MSDS_CN = value; EntityState.FieldChange("MSDS_CN"); } } private string _MSDS_CN; public static FieldInfo mSDS_CN = new FieldInfo("mdc_Product_Group", "MSDS_CN");
        [Column]
        public string Intend_Use { get { return _Intend_Use; } set { _Intend_Use = value; EntityState.FieldChange("Intend_Use"); } } private string _Intend_Use; public static FieldInfo intend_Use = new FieldInfo("mdc_Product_Group", "Intend_Use");
        [Column]
        public string Recipe_For_MSDS { get { return _Recipe_For_MSDS; } set { _Recipe_For_MSDS = value; EntityState.FieldChange("Recipe_For_MSDS"); } } private string _Recipe_For_MSDS; public static FieldInfo recipe_For_MSDS = new FieldInfo("mdc_Product_Group", "Recipe_For_MSDS");


        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("mdc_Product_Group", "Time");

        [Column]
        [DefaultInt(0)]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("mdc_Product_Group", "Status");
    }
}
